package com.ruicar.afs.cloud.common.modules.afscorebusiness.enums;

import com.ruicar.afs.cloud.common.core.enums.AfsBaseEnum;
import com.ruicar.afs.cloud.common.core.enums.annotations.AfsEnum;

/**
 * @param
 * @author yk.Li
 * @description 渠道类型
 * @date 2020/7/10
 */
public enum ChannelTypeEnum implements AfsBaseEnum {
    @AfsEnum(key = "01", desc = "合作商", mapping = {"afs-case=01", "afs-contract=COMMON_CAR_DEALER"})
    COMMON_CAR_DEALER("01","合作商"),

    @AfsEnum(key = "02", desc = "直营车商", mapping = {"afs-case=02", "afs-contract=DIRECT_CAR_DEALER"})
    DIRECT_CAR_DEALER("02","直营车商");

    ChannelTypeEnum(String code, String desc) {
        this.code = code;
        this.desc = desc;
    }

    private String code;
    private String desc;

    public String getCode() {
        return code;
    }

}
